package com.magpiebridge.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("miss")
public class Miss {
    @TableId(type = IdType.AUTO)
    private Integer missid;
    private Integer sponsor;
    private Integer Invited;
    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date misstime;
    private String missstate;
}
